section {
    background-color: #f5f5f5;
    padding-bottom: 1px;
}

section .red {
    color: #cf4444;
}

section>.container {
    width: 1240px;
    margin: 0 auto;
}

section>.container>h3 {
    padding: 20px 10px;
    font-weight: normal;
    font-size: 14px;
    background-color: #f5f5f5;
}

section>.container>h3 i {
    margin: 0 10px;
}

section>.container>table {
    color: #999;
    border-spacing: 0;
    border-collapse: collapse;
    line-height: 24px;
    background-color: #ffffff;
}

section>.container>table thead {
    display: table-header-group;
    vertical-align: middle;
    border-color: inherit;
}

section>.container>table thead th {
    padding: 10px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 16px;
    font-weight: 400;
    line-height: 50px;
}

section>.container>table thead th:nth-child(1) {
    width: 120px;
    text-align: left;
    padding-left: 30px;
}

section>.container>table thead th:nth-child(1)>input {
    display: inline-block;
    margin-right: 2px;
}

section>.container>table thead th:nth-child(2) {
    width: 400px;
}

section>.container>table thead th:nth-child(3) {
    width: 220px;
}

section>.container>table thead th:nth-child(4) {
    width: 180px;
}

section>.container>table thead th:nth-child(5) {
    width: 180px;
}

section>.container>table thead th:nth-child(6) {
    width: 140px;
}

section>.container>table tbody {
    height: 121px;
    color: #666666;
    border-bottom: 1px solid #f5f5f5;
}

section>.container>table tbody td {
    padding: 10px;
    text-align: center;
}

section>.container>table tbody td:nth-child(1) {
    padding-left: 30px;
    text-align: left;
}

section>.container>table tbody td:nth-child(2) {
    width: 400px;
    display: flex;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(1) {
    width: 100px;
    height: 100px;
    padding: 0;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(1) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(2) {
    padding-left: 10px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(2)>p {
    max-width: 270px;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(2) .cart-sku {
    position: relative;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(2) .cart-sku .elli-psis {
    color: #bebebe;
    cursor: pointer;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(2) .cart-sku .layer {
    position: absolute;
    padding: 20px;
    width: 400px;
    border: 1px solid #27ba9b;
    left: 0px;
    top: 30px;
    background: #fff;
    display: none;
    z-index: 990;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(2) .cart-sku .layer::before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    left: 10px;
    top: -6px;
    border-top: 1px solid #27ba9b;
    border-left: 1px solid #27ba9b;
    transform: rotate(45deg);
    background-color: #fff;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(2) .cart-sku .layer i {
    position: absolute;
    top: -19px;
    left: 12px;
    font-size: 28px;
    color: #27BA9B;
}

/* section>.container>table tbody td:nth-child(2)>div:nth-child(2) .cart-sku .layer .goods-sku {
    padding-left: 50px;
} */

section>.container>table tbody td:nth-child(2)>div:nth-child(2) .cart-sku .layer .goods-sku dl {
    display: flex;
    /* padding-top: 10px; */
    align-items: center;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(2) .cart-sku .layer .goods-sku dl dt {
    width: 50px;
    color: #999;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(2) .cart-sku .layer .goods-sku dl dd {
    flex: 1;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(2) .cart-sku .layer .goods-sku dl dd>span {
    margin: 5px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    border: 1px solid #27ba9b;
    cursor: pointer;
}

section>.container>table tbody td:nth-child(2)>div:nth-child(2) .cart-sku .layer .xtx-button {
    margin: 10px 0 0 80px;
    border: 1px solid #27ba9b;
    background-color: #27BA9B;
    width: 50px;
    height: 24px;
    text-align: center;
    border-radius: 4px;
    color: #fff;
}

section>.container>table tbody td:nth-child(3) {
    width: 220px;
}

section>.container>table tbody td:nth-child(4) {
    width: 180px;
}

section>.container>table tbody td:nth-child(4)>div {
    display: flex;
    background-color: #ffffff;
}

section>.container>table tbody td:nth-child(4)>div a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #e4e4e4;
}

section>.container>table tbody td:nth-child(4)>div input {
    width: 80px;
    padding: 0 10px;
    text-align: center;
    border: 1px solid #e4e4e4;
}

section>.container>table tbody td:nth-child(5) {
    width: 180px;
}

section>.container>table tbody td:nth-child(6) {
    width: 140px;
}

section>.container>table tbody td:nth-child(6)>.pop_show {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    cursor: pointer;
}

section>.container>table tbody td:nth-child(6)>.pop_show>span:nth-child(2) {
    color: #27ba9b;
}

.pop_main {
    display: none;
}

.pop_main .pop_con {
    width: 400px;
    height: 200px;
    background: #fff;
    border-radius: 4px;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -250px;
    margin-top: -150px;
    border: 1px solid #f0f0f0;
    z-index: 9999;
}

.pop_main .pop_title {
    width: 400px;
    height: 50px;
    margin: 5px auto 0;
    padding: 0 20px;
    border-radius: 6px;
}

.pop_main .pop_title h3 {
    float: left;
    margin: 0px;
    line-height: 40px;
    font-size: 18px;
    font-weight: normal;
}

.pop_main .pop_title i {
    float: right;
    width: 20px;
    height: 20px;
    background: #fff;
    margin: 10px 10px 0 0;
    text-decoration: none;
    line-height: 20px;
    text-align: center;
    font-size: 20px;
    border-radius: 4px;
}

.pop_main .pop_detail {
    height: 100px;
    border-bottom: 1px solid #f0f0f0;
    /* 解决margin-top塌陷 */
    overflow: hidden;
}

.pop_main .pop_footer {
    height: 50px;
    padding-top: 5px;
    text-align: center;
}

.pop_main .pop_footer .btn_cancel,
.pop_main .pop_footer .btn_confirm {
    height: 34px;
    line-height: 34px;
    width: 60px;
    border-radius: 4px;
    color: #fff;
    background-color: #cccccc;
}

.pop_main .pop_footer .btn_confirm {
    margin-left: 20px;
    background-color: #27ba9b;
}

.pop_main .mask {
    width: 100%;
    height: 100%;
    background: #0000006b;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9990;
}

.pop_main .pop_text {
    margin: 30px 0 0 10px;
    font-size: 18px;
    color: #666;
}

section>.container>.xtx_settle {
    display: flex;
    margin: 20px 0;
    padding: 0 30px;
    height: 80px;
    align-items: center;
    font-size: 16px;
    justify-content: space-between;
    background-color: #ffffff;
}

section>.container>.xtx_settle>aside {
    background-color: #ffffff;
}

section>.container>.xtx_settle>aside:nth-child(1)>span {
    margin-left: 20px;
}

section>.container>.xtx_settle>aside i {
    margin: 0 10px;
}

section>.container>.xtx_settle>aside .pro_price {
    font-size: 18px;
    margin-right: 20px;
    font-weight: 700;
}

section>.container>.xtx_settle>aside button {
    width: 180px;
    height: 50px;
    font-size: 16px;
    border-radius: 4px;
    border-color: #27ba9b;
    background: #27ba9b;
    color: #fff;
}

section>.container>.xtx-relevant-product {
    margin: 20px 0;
    padding: 0px 20px;
    position: relative;
    background-color: #ffffff;
}

section>.container>.xtx-relevant-product h3 {
    font-weight: normal;
    font-size: 20px;
    padding: 25px 10px;
}

section>.container>.xtx-relevant-product h3>i {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    display: inline-block;
    border-top: 4px solid #27ba9b;
    border-right: 4px solid #27ba9b;
    box-sizing: border-box;
    position: relative;
    transform: rotate(45deg);
}

section>.container>.xtx-relevant-product h3>i::before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0px;
    top: 2px;
    background: #bcf1e6;
}

.product-relevant-carousel {
    height: 380px;
    position: relative;
}

.product-relevant-carousel .carousel-prev {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    left: 20px;
    top: 110px;
    color: #ddd;
    text-align: center;
    border-radius: 50%;
    transition: all 0.5s;
    opacity: 1;
    z-index: 2;
}

.product-relevant-carousel .carousel-prev span {
    font-size: 50px;
}

.product-relevant-carousel .carousel-next {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 20px;
    top: 110px;
    color: #ddd;
    text-align: center;
    border-radius: 50%;
    transition: all 0.5s;
    opacity: 1;
    z-index: 2;
}

.product-relevant-carousel .carousel-next span {
    font-size: 50px;
}

.product-relevant-carousel .carousel-indicator {
    width: 100%;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 30px;
    z-index: 2;
}

.product-relevant-carousel .carousel-indicator span {
    margin-left: 12px;
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, .2);
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
}

.product-relevant-carousel ul {
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.product-relevant-carousel li.fade {
    opacity: 1;
    z-index: 1;
}

.carousel-item .slider {
    display: flex;
    justify-content: space-around;
    padding: 0 40px;

}

.carousel-item .slider a {
    width: 240px;
    text-align: center;

}

.carousel-item .slider img {
    padding: 20px;
    width: 230px;
    height: 230px;
}

.carousel-item .slider .name {
    font-size: 16px;
    color: #666;
    padding: 0 40px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.carousel-item .slider .price {
    font-size: 16px;
    color: #cf4444;
    margin-top: 15px;
}

.product-relevant-carousel .carousel-indicator .active {
    background-color: #27BA9B;
}